import request from '../util/request'

export function memberLogin(data) {
    return request({
        url: '/member/memberLogin',
        method: 'post',
        data: data
    })
}

export function memberRegister(data) {
    return request({
        url: '/member/memberRegister',
        method: 'post',
        data: data
    })
}

export function getMemberById(id) {
    return request({
        url: '/member/getById',
        method: 'get',
        params: {
            id: id
        }
    })
}

export function getLoginMember() {
    return request({
        url: '/member/getLoginMember',
        method: 'get',
        
    })
}